﻿using System;
using System.Collections;
using System.Text;
using System.Drawing;

namespace gChartSharp
{
    public class ColorParam : ParamBase<ParamColor>, IRenderable
    {
        public override string Name { get { return "chco"; } }
    }

    public class ParamColor : IRenderable
    {
        public Color Color { get; set; }

        public ParamColor(Color color)
        {
            Color = color;
        }

        public string Render()
        {
            return Color.ToHtml();
        }
    }
}
